package pri.hillchen.springbootstd.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.apache.ibatis.annotations.Param;
import pri.hillchen.springbootstd.entity.User;

import java.util.List;

/**
 * Created by hillchen on 2017/9/27.
 */
public interface UserMapper extends BaseMapper<User> {
    User findUserByUserName(@Param("userName")String userName);
    User findUserByUserNamePassword(@Param("userName")String userName,@Param("password")String password);
    List<User> findUserByPage(Pagination page);
}
